#include "stl.h"
#include "parse.h"
#include "solution.h"
int main(int argc, char *argv[])
{
    string str = "[[\"3\",\"[[0,1,100],[1,2,100],[0,2,500]]\",\"0\",\"2\",\"1\"],[\"3\",\"[[0,1,100],[1,2,100],[0,2,500]]\",\"0\",\"2\",\"0\"]]";
    vector<vector<string>> arr = parseStringArrArr(str);
    for (int i = 0; i < arr.size(); i++)
    {
      vector<string> args = arr[i];
      Solution *s = new Solution();
      int arg0 = parseInteger(args[0]);
      vector<vector<int>> arg1 = parseIntegerArrArr(args[1]);
      int arg2 = parseInteger(args[2]);
      int arg3 = parseInteger(args[3]);
      int arg4 = parseInteger(args[4]);
      int result=s->findCheapestPrice(arg0,arg1,arg2,arg3,arg4);
      string resultabc =serializeInteger(result);
      cout << "resultabc"+to_string(i)+":" << resultabc <<"resultend"<< endl;
    }
    return 0;
}